package com.probiz.estore.system.dao;

import java.util.List;

import com.probiz.estore.common.model.system.ShippingMethod;
import com.probiz.estore.core.dao.GenericDao;

/**
 * ShippingMethod Data Access Object (DAO) interface.
 * Developer introduced interfaces should be declared here. Won't get overwritten.
 */
public interface ShippingMethodDao extends GenericDao<ShippingMethod> {
	/**
	 * 根据运输方式code获得运输方式
	 * @param shippingMethodCode
	 * @return
	 */
	public ShippingMethod findShippingMethodByShippingMethodCode(String shippingMethodCode);
	
	/**
	 * 获得所有运输方式
	 * @return
	 */
	public List<ShippingMethod> listAllActive();
	
	
}
